﻿<%@ Page Title="Profil" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="Profile.aspx.cs" Inherits="WeakEndForum.ProfilePage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
    <div class="container">
        <div class="signupForm">
            <div class="page-header">
                <span class="h2 RalewayFont"><span class="glyphicon glyphicon-user"></span> Profil</span>
            </div>
            <asp:Literal ID="literProfileSuccess" runat="server" />
            <asp:Label ID="lblErrors" runat="server" Text=""></asp:Label>
            <div class="form-group">
                <div class="inlineControl">Nom d'utilisateur:</div>
                <asp:Label ID="lblUserName" runat="server" Text=""></asp:Label>
            </div>
            <div class="form-group">
                <div class="inlineControl">Adresse courriel:</div>
                <asp:Label ID="lblEmail" runat="server" Text=""></asp:Label>
            </div>
            <div class="form-group">
                <div class="inlineControl">Statut:</div>
                <asp:Label ID="lblStatut" runat="server" Text=""></asp:Label>
            </div>
            <div class="form-group">
                <div class="inlineControl">Votre avatar:</div>
                <asp:Image ID="imgAvatar" CssClass="img-thumbnail postImage" runat="server" />
                <asp:FileUpload ID="fuAvatar" runat="server" accept="image/*"/><br />
                <span class="label label-warning">Attention</span>
                <span>La taille de l'image ne doit pas dépasser 180px par 180px.</span>
            </div>
            
            <asp:Button ID="btnChanger_Avatar" CssClass="btn btn-primary" runat="server" Text="Changer l'image" OnClick="btnChanger_Image_Click" PostBackUrl="~/Profile.aspx" /> <br />
        </div>
    </div>
</asp:Content>
